<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>商家首页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            font-size: 14px;
            line-height: 1.5;
            color: #333;
            background-color: #f5f5f5;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        .header {
            padding: 15px;
            background-color: #1989fa;
            color: white;
            text-align: center;
            font-size: 18px;
            position: relative;
        }
        .header-notice {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 20px;
        }
        .content {
            flex: 1;
            padding: 15px;
            padding-bottom: 65px;
        }
        .stats-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }
        .stat-card {
            background: white;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .stat-value {
            font-size: 24px;
            font-weight: bold;
            color: #1989fa;
            margin: 5px 0;
        }
        .stat-label {
            color: #666;
            font-size: 12px;
        }
        .quick-actions {
            background: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .quick-actions-title {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 15px;
            color: #333;
        }
        .quick-actions-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }
        .quick-action-item {
            text-align: center;
            text-decoration: none;
            color: #666;
        }
        .quick-action-icon {
            width: 40px;
            height: 40px;
            background: #f0f7ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            color: #1989fa;
            font-size: 20px;
        }
        .quick-action-label {
            font-size: 12px;
        }
        .trend-chart {
            background: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .trend-chart-title {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 15px;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .trend-chart-tabs {
            display: flex;
            gap: 15px;
        }
        .trend-chart-tab {
            font-size: 12px;
            color: #666;
            cursor: pointer;
        }
        .trend-chart-tab.active {
            color: #1989fa;
        }
        .trend-chart-canvas {
            width: 100%;
            height: 200px;
            background: #f9f9f9;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
        }
        .nav-bar {
            position: fixed;
            bottom: 0;
            width: 100%;
            display: flex;
            background: white;
            border-top: 1px solid #eee;
            height: 50px;
        }
        .nav-item {
            flex: 1;
            text-align: center;
            padding: 8px 0;
            color: #666;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }
        .nav-item.active {
            color: #1989fa;
        }
        .nav-icon {
            font-size: 18px;
            margin-bottom: 2px;
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
    <div class="header">
        商家中心
        <a href="store-pages/store-notice.html" class="header-notice">
            <i class="fas fa-bell"></i>
        </a>
    </div>
    
    <div class="content">
        <div class="stats-container">
            <div class="stat-card">
                <div class="stat-value">¥5,280</div>
                <div class="stat-label">今日销售额</div>
            </div>
            <div class="stat-card">
                <div class="stat-value">36</div>
                <div class="stat-label">今日订单</div>
            </div>
            <div class="stat-card">
                <div class="stat-value">¥28,750</div>
                <div class="stat-label">本月销售额</div>
            </div>
            <div class="stat-card">
                <div class="stat-value">198</div>
                <div class="stat-label">本月订单</div>
            </div>
        </div>

        <div class="quick-actions">
            <div class="quick-actions-title">快捷功能</div>
            <div class="quick-actions-grid">
                <a href="add-goods.html" class="quick-action-item">
                    <div class="quick-action-icon">
                        <i class="fas fa-plus"></i>
                    </div>
                    <div class="quick-action-label">添加商品</div>
                </a>
                <a href="orders/order-ship.html" class="quick-action-item">
                    <div class="quick-action-icon">
                        <i class="fas fa-truck"></i>
                    </div>
                    <div class="quick-action-label">发货</div>
                </a>
                <a href="store-pages/store-decoration.html" class="quick-action-item">
                    <div class="quick-action-icon">
                        <i class="fas fa-paint-brush"></i>
                    </div>
                    <div class="quick-action-label">店铺装修</div>
                </a>
                <a href="settings/basic-settings.html" class="quick-action-item">
                    <div class="quick-action-icon">
                        <i class="fas fa-cog"></i>
                    </div>
                    <div class="quick-action-label">设置</div>
                </a>
            </div>
        </div>

        <div class="trend-chart">
            <div class="trend-chart-title">
                <span>销售趋势</span>
                <div class="trend-chart-tabs">
                    <span class="trend-chart-tab active">7天</span>
                    <span class="trend-chart-tab">30天</span>
                </div>
            </div>
            <div class="trend-chart-canvas">
                图表区域（可集成实际图表库）
            </div>
        </div>
    </div>
    
    <div class="nav-bar">
        <a href="home.html" class="nav-item active">
            <i class="nav-icon fas fa-home"></i>
            <span>首页</span>
        </a>
        <a href="goods.html" class="nav-item">
            <i class="nav-icon fas fa-shopping-bag"></i>
            <span>商品</span>
        </a>
        <a href="orders/order-list.html" class="nav-item">
            <i class="nav-icon fas fa-file-alt"></i>
            <span>订单</span>
        </a>
        <a href="settings/my-settings.html" class="nav-item">
            <i class="nav-icon fas fa-user"></i>
            <span>我的</span>
        </a>
    </div>
</body>
</html>